// Learn TypeScript:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html

import StartUp from "../../../lib/StartUp";
import { selfCls } from "../../../lib/common/Decorator";
import { Manager } from "../../../lib/common/Manager";

const {ccclass, property} = cc._decorator;

@selfCls
export default class CaveManager extends Manager {
    get parentRoot(): cc.Node {
        return StartUp.instance.gameRoot;
    }

    public async do(): Promise<void> {
        return new Promise<void>((resolve, reject)=>{
            
            resolve();
        })
    }
}
